<%@include file="/page/tag.jsp"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<!--框架必需start-->
<script type="text/javascript" src="${ctp}/QUI/libs/js/jquery.js"></script>
<%-- <script type="text/javascript" src="${ctp}/js/qui/language/cn.js"></script> --%>
<script type="text/javascript" src="${ctp}/QUI/libs/js/language/cn.js"></script>
<script type="text/javascript" src="${ctp}/QUI/libs/js/framework.js"></script>
<link href="${ctp}/QUI/libs/css/import_basic.css" rel="stylesheet"	type="text/css" />
<link href="${ctp}/QUI/libs/skins/lightBlue/style.css" rel="stylesheet" type="text/css" id="theme" themeColor="deepBlue"/>
<!-- 表单验证start -->
<script src="${ctp}/QUI/libs/js/form/validationRule.js" type="text/javascript"></script>
<script src="${ctp}/QUI/libs/js/form/validation.js" type="text/javascript"></script>
<!-- 表单验证end -->

<!-- 树组件start -->
<script type="text/javascript" src="${ctp}/js/qui/ztree.js"></script>
<link type="text/css" rel="stylesheet" href="${ctp}/css/ztree.css"></link>
<!-- 树组件end -->

<!-- 树形下拉框start -->
<script type="text/javascript" src="${ctp}/QUI/libs/js/form/selectTree.js"></script>
<!-- 树形下拉框end -->

<!-- 日期选择框start -->
<script type="text/javascript" src="${ctp}/QUI/libs/js/form/datePicker/WdatePicker.js"></script>
<!-- 日期选择框end -->

<!--自动提示框start-->
<script type='text/javascript' src='${ctp}/QUI/libs/js/form/suggestion.js'></script>
<!--自动提示框end-->


<!--数据表格start-->
<script src="${ctp}/js/qui/quiGrid.js" type="text/javascript"></script>
<!--数据表格end-->

<!--框架必需end-->

<style>
.del_f{
	margin-left: 10px;
}

#tb_goods{
	width: 100%;
}
</style>
</head>
<body>

	<form id="ff" target="frmright" class="" method="post" action="" failAlert="验证未通过">
		<input type="hidden"  name="storageFlowId"  value="<c:out value="${erpStorageFlow.storageFlowId }"/>"/>
		<table class="tableStyle" formMode="line">
			
			<tr>
				<td colspan="1" style="width:350px;">
					<div  class="ali01">
						客户:<c:out value="${fromQjOrder.crmCustomerInfo.customerName }"/>
					</div>
				</td>
				<td colspan="4" class="ali03">
					<div  class="ali01">
					<input id="totalPrice" type="hidden"/>
					订单总价:<span id="show_totalPrice"><c:out value="${fromQjOrder.auditingTotalPrice}"/></span>
					</div>
				</td>
			</tr>
			<tr>
				<td colspan="5" >
					<table class="tableStyle">
						<thead>
							<tr>
								<th>规格</th>
								<th>颜色</th>
								<th>单价</th>
								<th>数量</th>
								<th>单位</th>
								<th>是否生产</th>
							</tr>
						</thead>
						<c:forEach var="it" items="${fromQjOrderDetailList }" varStatus="vs">
							<tr>
								<td>
								 	<div  class="ali02"><c:out value="${it.erpGoodInfo.goodName }"/></div>
								</td>
								<td>
								 	<div  class="ali02"><c:out value="${it.color }"/></div>
								</td>
								<td>
								 	<div id="price_${vs.index }" class="ali02" rel="<c:out value="${it.price }"/>"><c:out value="${it.price }"/></div>
								</td>
								<td>
								 	<div id="count_${vs.index }"  class="ali02" rel="<c:out value="${it.count }"/>"><c:out value="${it.count }"/></div>
								</td>
								<td>
								 	<div  class="ali02"><c:out value="${it.erpGoodInfo.goodUnit }"/></div>
								</td>
								<td>
									<div id="show_${vs.index }" class="ali02">
										<c:choose>
											<c:when test="${it.isAllow }">是</c:when>
											<c:otherwise>否</c:otherwise>
										</c:choose>
									</div>
								</td>
							</tr>
						</c:forEach>
					</table>
	</form>
	<script>
		function closeWin() {
			top.Dialog.close();
		}

	</script>
</body>
</html>

